package com.itheima.service.impl;

import com.itheima.mapper.ReportMapper;
import com.itheima.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
@Service
public class ReportServiceImpl implements ReportService {

    @Autowired
    public ReportMapper reportMapper;
    @Override
    public List<Map<String, Object>> getProductNum() {
        List<Map<String, Object>> list = reportMapper.getProductNum();
        return list;
    }

    @Override
    public List<Map<String, Object>> getProductStataus() {
        List<Map<String, Object>> list = reportMapper.getProductStataus();
        return list;
    }
}
